using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnesSystem.Models
{
    public class ItemInfoModel : ObservableObject
    {

        private string groupClass;
        private DateTime begin;
        private DrugExeInfoModel drugExeInfo;
        private EventExeInfoModel eventExeInfo;

        public DrugExeInfoModel DrugExeInfo
        {
            get
            {
                if (drugExeInfo==null)
                {
                    drugExeInfo = new DrugExeInfoModel();
                }
                return drugExeInfo;
            }

            set
            {
                drugExeInfo = value;
                RaisePropertyChanged("DrugExeInfo");
            }
        }
        public EventExeInfoModel EventExeInfo
        {
            get
            {
                if (eventExeInfo==null)
                {
                    eventExeInfo = new EventExeInfoModel();
                }
                return eventExeInfo;
            }

            set
            {
                eventExeInfo = value;
                RaisePropertyChanged("EventExeInfo");
            }
        }

        public string GroupClass
        {
            get
            {
                return groupClass;
            }

            set
            {
                groupClass = value;
                RaisePropertyChanged("GroupClass");
            }
        }

        public DateTime Begin
        {
            get
            {
                return begin;
            }

            set
            {
                begin = value;
            }
        }
    }
}